package com.hz.web.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.hz.web.dao.ManyDemoDao;
import com.hz.web.entity.CollectionVo;
import com.hz.web.entity.FieldEntity;
import com.hz.web.entity.GhEnterpriseTableEntity;
import com.hz.web.entity.XzcfEntity;
import com.hz.web.entity.XzxkEntity;
import com.hz.web.service.ImanyDemoService;

 
@Service
public class ManyDemoImpl implements ImanyDemoService {

	@Resource
	private ManyDemoDao manyDemoDao;
	
	@Override
	public int queryCount() {
		int rows = manyDemoDao.queryCount();
		return rows;
	}

	@Override
	public List<CollectionVo> queryCollection(int page) {
		return manyDemoDao.queryCollection(page);
	}

	@Override
	public List<XzcfEntity> queryXZCF(Map<String, Object> parmsMap) {
		return manyDemoDao.queryXZCF(parmsMap);	
	}

	@Override
	public int queryXZCFCount(Map<String, Object> parmsMap) {
		return manyDemoDao.queryXZCFCount(parmsMap);
	}

	@Override
	public List<XzxkEntity> queryXZXK(Map<String, Object> parmsMap) {
		return manyDemoDao.queryXZXK(parmsMap);
	}

	@Override
	public int queryXZXKCount(Map<String, Object> parmsMap) {
		return manyDemoDao.queryXZXKCount(parmsMap);
	}

	@Override
	public List<XzcfEntity>  queryCFxx(Map<String, Object> parmsMap) {
		// TODO Auto-generated method stub
		return manyDemoDao.queryCFxx(parmsMap);
	}

	@Override
	public  List<XzxkEntity>  queryXKxx(Map<String, Object> parmsMap) {
		// TODO Auto-generated method stub
		return manyDemoDao.queryXKxx(parmsMap);
	}

	@Override
	public List<XzcfEntity> queryCFBM() {
		// TODO Auto-generated method stub
		return manyDemoDao.queryCFBM();
	}

	@Override
	public List<XzxkEntity> queryXKBM() {
		// TODO Auto-generated method stub
		return manyDemoDao.queryXKBM();
	}

	/**
	 * 查询企业基本信息
	 * @param parmsMap
	 * @return
	 */
	@Override
	public List<GhEnterpriseTableEntity> queryQyMsgByEnterpriseId(
			Map<String, Object> parmsMap) {
	
		return manyDemoDao.queryQyMsgByEnterpriseId(parmsMap);
	}

	/**
	 * 查询自然人基本信息
	 * @param parmsMap
	 * @return
	 */
	@Override
	public List<Map<String, Object>> queryGrMsgByPersonalId(Map<String, Object> parmsMap) {
		
		return manyDemoDao.queryGrMsgByPersonalId(parmsMap);
	}

	/**
	 * 查询列
	 * @param parmsMap
	 * @return
	 */
	@Override
	public List<FieldEntity> queryFieldByTable(Map<String, Object> parmsMap) {
	
		return manyDemoDao.queryFieldByTable(parmsMap);
	}

	

}
